package me.firstapp.service.shop;

import me.firstapp.module.shop.Address;

public interface AddressService {

	/**
	 * 新增或更新收货地址
	 * 
	 * @param memberId
	 * @param name
	 * @param mobile
	 * @param province
	 * @param city
	 * @param district
	 * @param detail
	 * @param apiClientId
	 * @return
	 */
	Address addUpdateAddress(Long memberId, String name, String mobile, String province, String city, String district,
			String detail, Long apiClientId);

	/**
	 * 查询用户收货地址
	 * 
	 * @param memberId
	 * @param apiClientId
	 * @return
	 */
	Address findAddressByMemberId(Long memberId, Long apiClientId);
}
